import request from '@/request'


/**
 * 获取校级领导驾驶舱数据
 * @returns 
 */
//2021/09/17 
export function getDataByUniversityId(universityId, date) {
  return request({
    url: `/dashboard/cockpit/campus/${universityId}/2021/09/17`,
    method: "get",
  })
}

/**
 * 获取院级领导驾驶舱数据
 * @param {*} collegeId 
 * @param {*} date 
 * @returns 
 */
export function getDataByCollegeId(collegeId, date) {
  return request({
    url: `/dashboard/cockpit/college/${collegeId}/2021/09/17`,
    method: "get",
  })
}

/**
 * 
 *获取班级领导驾驶舱数据
 * @param {*} classId 
 * @param {*} date 
 * @returns 
 */
export function getDataByClassId(classId, date) {
  return request({
    url: `/dashboard/cockpit/class/${classId}/2021/09/17`,
    method: "get",
  })
}